package com.yingxin.yxerp.module.print.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 打印限制
 * @author jiangxudong
 * @since 2022-04-05
 */

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_print_limit")
public class PrintLimit implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 业务类型
     */
    @TableId("business_type")
    private String businessType;

    /**
     * 限制类型  0 不受限 1 限制打印一次 N 禁止所有打印
     */
    private String limitType;

    public PrintLimit() {
    }

    public PrintLimit(String businessType, String limitType) {
        this.businessType = businessType;
        this.limitType = limitType;
    }

}
